package com.itheima.bh1007;
public class Coder {
    private String name;
    private int id;
    private double salary;
    private String work;
    public String getWork() {
        return work;
    }
    public void setWork(String work) {
        this.work = work;
    }
    public Coder() {
    }
    public Coder(String name, int id, double gongzi) {
        this.name = name;
        this.id = id;
        this.salary = gongzi;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public double getSalary() {
        return salary;
    }
    public void setSalary(double salary) {
        this.salary = salary;
    }
}


class Manager extends Coder {
    private double jiangjin;
    public Manager() {
        super();
    }
    public Manager(String name, int id, double salary) {
        super(name, id, salary);
    }
    public double getJiangjin() {
        return jiangjin;
    }
    public void setJiangjin(double jiangjin) {
        this.jiangjin = jiangjin;
    }
}